html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  user-select: none;
}

body, div, h1, h2, h3, p, ul, dl, dd {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: #333;
}

img {
  border: none;
  vertical-align: top;
}

li {
  list-style: none;
}

input {
  outline: none;
}

// 共有样式
.toolbar {
  width: 100%;
  height: 32px;
  background: rgba(255, 255, 255, .1);
  border-radius: 6px 6px 0 0;
  border-bottom: 1px solid #eee;
  .operation {
    li {
      float: right;
      width: 32px;
      height: 32px;
      text-align: center;
      line-height: 32px;
      transition: .3s;
      &:nth-of-type(1) {
        margin-right: 10px;
      }
      &:hover {
        background: rgba(0, 0, 0, .1);
        cursor: pointer;
      }
      &:nth-of-type(1):hover {
        background: #ad0703;
      }
      span {
        font-size: 12px;
        color: #666;
      }
    }
  }
}

// loader
.loader {
  position: absolute;
  top: 45%;
  left: 40%;
  margin-left: 10%;
  transform: translate3d(-50%, -50%, 0);
  .dot {
    width: 24px;
    height: 24px;
    background: #3ac;
    border-radius: 100%;
    display: inline-block;
    animation: slide 1s infinite;
  }
}
.dot:nth-child(1) {
  animation-delay: .1s;
  background: #32aacc;
}

.dot:nth-child(2) {
  animation-delay: .2s;
  background: #64aacc;
}

.dot:nth-child(3) {
  animation-delay: .3s;
  background: #96aacc;
}

.dot:nth-child(4) {
  animation-delay: .4s;
  background: #c8aacc;
}

.dot:nth-child(5) {
  animation-delay: .5s;
  background: #faaacc;
}

@keyframes slide {
  0% {
    transform: scale(1);
  }
  50% {
    opacity: .3;
    transform: scale(2);
  }
  100% {
    transform: scale(1);
  }
}